<?php

use Illuminate\Database\Seeder;

class DeportmentSeeder extends Seeder
{
    private $rules = array([
        'name' => '发育行为'
    ],[
        'name' => '生长发育'
    ],[
        'name' => '小儿泌尿'
    ],[
        'name' => '小儿内科'
    ]);

    /**
     * Run the database seeds.
     *
     * @return void
     */
    public function run()
    {
        foreach ($this->rules as $v){
            \App\Entities\Deportment::create($v);
        }
    }
}
